#pragma once
#include "tfbondlib.h"
#include <qbmessage/include/message_bond.h>
#include <qbtools/message/MessagePoster.h>
#include <qbprotocol/include/SSQBModel.h>
#include <QObject>
#include <QString>

class S_TFBONDLIB_EXPORT TFBondDataCenter : public QObject, public MessageReceiver
{
	Q_OBJECT
public:
	static TFBondDataCenter& instance();
	void requestTFContactInfo();
	void requestTFRefBond();

protected:
	void onDataArrived(const qb::SSAckMsg& msg) override;

signals:
	void recvData(int funcId);

private:
	TFBondDataCenter();
};
